#ifndef MODELOBJECT_H
#define MODELOBJECT_H
#include "SceneObject.h"
#include "Model.h"
//#include "Material.h"
#include <QDataStream>



class ModelObject : public SceneObject
{
public:

	ModelObject (Model * pModel);

	~ModelObject ();

	Model * getModel ();

	const Model * getModel () const;

// 	void setMaterial (Material * pMaterial);
// 
// 	Material * getMaterial ();
// 
// 	const Material * getMaterial () const;

	virtual void render();

	virtual void _applyRotateMatrix ();

	virtual void _applyScaleMatrix ();

private:
	
	Model * _pModel;

	//Material * _pMaterial;
};

#endif // MODELOBJECT_H
